package com.entity;

import java.io.Serializable;

public class Order implements Serializable {

	/**
	 * 订单表实体
	 */
	private static final long serialVersionUID = 1L;
	
	//订单id
	public int order_id;
	
	//用户id
	public String user_id;
	
	//商品id
	public String goods_id;
	
	//商品数量
	public int number;
	
	//购买时间
	public String order_time;
	
	//购买总价
	public double order_price;
	
	
	
	public int getOrder_id() {
		return order_id;
	}
	public void setOrder_id(int order_id) {
		this.order_id = order_id;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public String getGoods_id() {
		return goods_id;
	}
	public void setGoods_id(String goods_id) {
		this.goods_id = goods_id;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public String getOrder_time() {
		return order_time;
	}
	public void setOrder_time(String order_time) {
		this.order_time = order_time;
	}
	public double getOrder_price() {
		return order_price;
	}
	public void setOrder_price(double order_price) {
		this.order_price = order_price;
	}
	@Override
	public String toString() {
		return "Order [order_id=" + order_id + ", user_id=" + user_id + ", goods_id=" + goods_id + ", number=" + number
				+ ", order_time=" + order_time + ", order_price=" + order_price + "]";
	}

	
}
